package com.zm.demo.shoppingmall.storage.dao;

import com.zm.demo.shoppingmall.storage.model.TStorage;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

public interface TStorageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TStorage record);

    int insertSelective(TStorage record);

    TStorage selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TStorage record);

    int updateByPrimaryKey(TStorage record);


    TStorage getStorageByProductNo(@Param("productNo") String productNo, @Param("date") LocalDateTime date);
}